//
//  FavouritesView.h
//  MobileZIPCodes
//
//  Created by Andreas Schwelling on 07.12.07.
//	http://www.andi.de/zipcodes/
// 
//  Released under the GNU General Public License.
//  See LICENSE for details.
//
//  Use at your own risk.
//


#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <UIKit/UITransitionView.h>
#import <UIKit/UIPreferencesTable.h>
#import <UIKit/UISectionList.h>
#import <UIKit/UISegmentedControl.h>
#import <UIKit/UISwitchControl.h>
#import <UIKit/UIPreferencesTextTableCell.h>
#import <UIKit/UIButtonBar.h>
#import <UIKit/UIProgressIndicator.h>
#import <WebCore/WebFontCache.h>

#import "DataManager.h"
#import "SearchView.h"


@interface FavouritesView : UIView {
	CGRect				_rect;
	UITransitionView	*_transitionView;
	UISectionList		*_sectionList;
	UITable				*_table;
	id					_delegate;
	NSMutableArray*			_tableCells;
	NSMutableArray*			_tableHeaders;
	UINavigationBar		*_navBar;
	
	NSMutableDictionary	*_tableEntries;
	
	UIView				*_actualView;
	
	BrowseDataObject			*_bdo;
	
	BOOL				*_editing;
	
}


- (id)initWithFrame:(struct CGRect)rect;
- (void) fillTable;
-(void)dealloc;
-(BrowseDataObject*)getBdo;
-(UINavigationBar*)getNavBar;

-(void)setDelegate:(id)del;
-(UITransitionView*)getTransitionView;
-(UIView*)getCurrentView;
-(void)setCurrentView:(UIView*)view;


@end
